<template>
  <z-rate v-model:value="value" />
</template>
<script>
import { defineComponent, ref } from 'vue'

export default defineComponent({
  name: 'RateDemo1',
  setup(){
    const value = ref(2)
    // const blur = () => {
    //   console.log('blur')
    // }
    // const focus = () => {
    //   console.log('focus')
    // }
    // const keydown = (e) => {
    //   console.log('keydown')
    // }
    return {
      value
      // blur,
      // focus,
      // keydown
    }
  }
})
</script>
